<?php
session_start();
if(!isset($_SESSION['Name'])||!isset($_SESSION['barva'])||!isset($_SESSION['dvere'])||!isset($_SESSION['objem'])){
header('Location: index.php');
}

include("Design.php");
include("DB.php");
Tops("Cena");
$cena = GetPrice($_SESSION['barva'], $_SESSION['objem'], $_SESSION['dvere']);
echo "celková cena je: ".$cena;
?>
<form action="step5.php">
		<input type="submit" value="Ulozit">
</form>

<?php
Bottom();
?>